package vn.com.bookstore.model;

import com.google.gson.Gson;

import vn.com.bookstore.ObjectStore;

@SuppressWarnings("serial")
public class Result extends ObjectStore {
	public boolean result;
	public String message;

	public static Result parseGson(String json) {
		try {
			Gson gson = new Gson();
			Result result = (Result) gson.fromJson(json, Result.class);
			return result;
		} catch (Exception e) {
			return null;
		}
	}
}
